<!DOCTYPE html>
<html>
<head>
<link href="./css/modern.css" rel="stylesheet"> 
<link href="./css/style-student-group.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<title>EECE Group Assessments</title>

	<%
		String firstname = (String) request.getAttribute("firstname");
		String lastname = (String) request.getAttribute("lastname");
		String courseNumber = (String) request.getAttribute("courseNumber");
		String sectionNumber = (String) request.getAttribute("sectionNumber");
		String TAID = (String) request.getAttribute("TAID");
	%>
<body>
<div id="container">
	<div id="header"><br>
		<h1 id="main-title"><b><font color = "000000">EECE Student Group Assessments</b></font></h1>
		<h2>Welcome to <%=courseNumber%> Section <%=sectionNumber%> <%=firstname%> <%=lastname%>! 
			<a href="index.html">
			<p align="right"><font size = "5">Logout</font></p>
			</a>
		</h2>		
	</div>
    <div id="body" class="page-region-content tiles">
        	<form id=form method="post" action="TABackPortalServlet">
             	<a href = "javascript:;" onclick="document.getElementById('form').submit();" class="back-button big page-back">
             		<input type = "hidden" name = "firstname" value = <%=firstname%>>
					<input type = "hidden" name = "lastname" value = <%=lastname%>>	
					<input type = "hidden" name = "TAID" value = "<%=TAID%>">
             	</a>
            </form>
    <div id="innerBody" class="page-region-content tiles">
		<h1>Teaching Assistant Portal</h1><br>
		<form id=form1 method="get" action="TAViewGradesServlet">
			<a href="javascript:;" onclick="document.getElementById('form1').submit();">
			<div class="tile double double-vertical bg-color-blue">
				<div class="tile-content">
					<div class="tile-content icon">
						<img src="icons/book_32.png" />
                   	</div>
					<div class="brand">	
						<div class="name">	
							<h2 align="center">
								<font size = "5">View Grades</font>
							</h2><br>
						</div>
					</div>
				</div>			
			</div>
					<input type = "hidden" name = "firstname" value = <%=firstname%>>
					<input type = "hidden" name = "lastname" value = <%=lastname%>>	
					<input type = "hidden" name = "courseNumber" value = "<%=courseNumber%>">
					<input type = "hidden" name = "sectionNumber" value = <%=sectionNumber%>>
					<input type = "hidden" name = "TAID" value = <%=TAID%>>
									
			</a>
		</form>
		<form id=form2 method="get" action="TAViewAssessmentsServlet">
			<a href="javascript:;" onclick="document.getElementById('form2').submit();">
				<div class="tile double double-vertical bg-color-green">
					<div class="tile-content">
						<div class="tile-content icon">
							<img src="icons/pencil_32.png" />
                   	    </div>
						<div class="brand">	
							<div class="name">	
								<h2 align="center">
									<font size = "4">View COGS Duties</font>
								</h2><br>
							</div>
						</div>
					</div>			
				</div>	
					<input type = "hidden" name = "firstname" value = <%=firstname%>>
					<input type = "hidden" name = "lastname" value = <%=lastname%>>	
					<input type = "hidden" name = "courseNumber" value = "<%=courseNumber%>">
					<input type = "hidden" name = "sectionNumber" value = <%=sectionNumber%>>
					<input type = "hidden" name = "TAID" value = <%=TAID%>>		
			</a>
		</form>	
		<form id=form3 method="get" action="TAViewGroupsServlet">
			<a href="javascript:;" onclick="document.getElementById('form3').submit();">
				<div class="tile double double-vertical bg-color-red">
					<div class="tile-content">
						<div class="tile-content icon">
							<img src="icons/users_32.png" />
                   	    </div>
						<div class="brand">	
							<div class="name">	
								<h2 align="center">
									<font size = "5">View Student Groups</font>
								</h2><br>
							</div>
						</div>
					</div>			
				</div> 
					<input type = "hidden" name = "firstname" value = <%=firstname%>>
					<input type = "hidden" name = "lastname" value = <%=lastname%>>	
					<input type = "hidden" name = "courseNumber" value = "<%=courseNumber%>">
					<input type = "hidden" name = "sectionNumber" value = <%=sectionNumber%>>	
					<input type = "hidden" name = "TAID" value = <%=TAID%>>					
			</a>
		</form>
		</div>	
	</div>
			<div id="footer">
			&copy;UBC Electrical and Computer Engineering. Styled with <a
				href="http://metroui.org.ua">Metro UI CSS</a>
		</div>
</div>
</body>
</html>